<%--
  Created by IntelliJ IDEA.
  User: 54629
  Date: 2019/6/30
  Time: 0:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>File</title>
    <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.4.1.js"></script>
    <script type="text/javascript" src="JS/jqSession.js"></script>
</head>
<body>

    <form action="/fileLoad" enctype="multipart/form-data" method="post">
        文件<input type="file" name="file"><br>
        <jsp:useBean id="user" class="com.duleme.entity.User" scope="session">
        </jsp:useBean>
        <p><jsp:getProperty name="user" property="userName"></jsp:getProperty></p><br>
        <p>${sessionScope.user.userId}</p>
        <p>${sessionScope.userInfo.id}</p>
        <p>${sessionScope.shop.shopName}</p>
        <input type="submit" value="上传">
    </form>

</body>
<script>

</script>
</html>
